﻿using XW.Web.Framework.Permissions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XW.Service
{
    public class MenuService : IPermissionService
    {
        public bool CheckPermission(long userId, long orgId, string permissionName)
        {
            return true;
        }

        public List<string> GetAllPermission()
        {
            return new List<string>();
        }

        public dynamic GetButton(long userId, string permissionName, bool isSup)
        {
            return "";
        }

        public List<dynamic> GetButtonList(long userId, string permissionName, bool isSup)
        {
            return new List<dynamic>();
        }

        public List<string> GetPermission(long userId, long orgid)
        {
            return new List<string>();
        }

        public List<dynamic> GetUsersByPermission(string permissionName)
        {
            return new List<dynamic>();
        }
    }
}
